package io.renren.modules.com.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import io.renren.modules.com.entity.ComImageEntity;

/**
 * 
 * 
 * @author pfp
 * @email
 * @date 2017-07-16 09:34:53
 */
public interface ComImageService {

	ComImageEntity queryObject(Long imageId);

	List<ComImageEntity> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	void save(ComImageEntity comImage);

	void update(ComImageEntity comImage);

	void delete(Long imageId);

	void deleteBatch(Long[] imageIds);

	Long upload(MultipartFile file);

	String getPhoto(Long imageId);
}
